/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gskorupa.univermon.heartbeat;

import java.util.ArrayList;

/**
 *
 * @author greg
 */
public class Report {
    String query;
    String client;
    int counter=0;
    ArrayList entities;
    
    public Report(){
       entities=new ArrayList();
    }
    
    void append(Entity ent){
        getEntities().add(ent);
        counter++;
    }

    /**
     * @return the query
     */
    public String getQuery() {
        return query;
    }

    /**
     * @param query the query to set
     */
    public void setQuery(String query) {
        this.query = query;
    }

    /**
     * @return the client
     */
    public String getClient() {
        return client;
    }

    /**
     * @param client the client to set
     */
    public void setClient(String client) {
        this.client = client;
    }

    /**
     * @return the counter
     */
    public int getCounter() {
        return counter;
    }

    /**
     * @return the entities
     */
    public ArrayList getEntities() {
        return entities;
    }
}
